#include<stdio.h>
int   main()
{
	int  m;
	scanf("%d",&m);
	while(m--)
	{
		int   a,b;
		scanf("%d %d",&a,&b);
		if(a>b)
		 {
			if(b==1)
			{
				if(a%2==0)
				printf("Lose\n");
				else
				printf("Win\n");
			}
			if(b!=1)
			{
				if(a%2==0)
				printf("Lose\n");
				else
				printf("Win\n");
			}
				
	 	  }	
	 	  if(a<b)
		printf("Win");
	} 
    	
}
